import { useRoutes } from "react-router-dom"
import routes from './index'

let MyRoutes = ()=>{
    let routelist = useRoutes(routes)
    return routelist
}

export default MyRoutes